<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Signature;

class ShaHmac1Signature extends Signature implements SignatureInterface
{
    public function getMethod()
    {
        return "HMAC-SHA1";
    }
    public function getType()
    {
        return "";
    }
    public function getVersion()
    {
        return "1.0";
    }
    public function sign($string, $accessKeySecret)
    {
        return base64_encode(hash_hmac("sha1", $string, $accessKeySecret, true));
    }
}

?>